//
//  TimeSecondPickView.h
//  wtshoppingcite
//
//  Created by Baojia-LC on 14/11/12.
//  Copyright (c) 2014年 TW. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^ DidSelectBlock)(int index,NSString* date);
@interface TimeSecondPickView : UIView<UITableViewDataSource,UITableViewDelegate>

@property(nonatomic,strong)UILabel* titleLabel;
@property(nonatomic,strong)UITableView* dayTableView;
@property(nonatomic,strong)UITableView* timeTableView;
@property(nonatomic,strong)UIView* backView;

@property(nonatomic,strong)NSArray* dayData;
@property(nonatomic,strong)NSArray* timeData;

@property(nonatomic,strong)NSIndexPath* selectIndexpath;
@property(nonatomic,strong)NSIndexPath* timeSelectIndexpath;

@property(nonatomic,copy)DidSelectBlock selectBlock;

-(void)showView:(UIView*)superView;
-(void)dismissView;

@end
